home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / GWMALLOC.ZIP;1 / GWMALLOC.TAR / gw_malloc / malloc_str.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-08  |  4.2 KB  |  168 lines

  1. /*
  2.  * defines for malloc string routines...
  3.  *
  4.  * Copyright 1992 by Gray Watson and the Antaire Corporation
  5.  *
  6.  * This file is part of the malloc-debug package.
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Library General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Library General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Library General Public
  19.  * License along with this library (see COPYING-LIB); if not, write to the
  20.  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  *
  22.  * The author of the program may be contacted at gray.watson@antaire.com
  23.  *
  24.  * $Id: malloc_str.h,v 1.4 1993/04/06 04:24:42 gray Exp $
  25.  */
  26.  
  27. #ifndef __MALLOC_STR_H__
  28. #define __MALLOC_STR_H__
  29.  
  30. /*<<<<<<<<<<  The below prototypes are auto-generated by fillproto */
  31.  
  32. /*
  33.  * dummy function for checking bcmp's arguments.
  34.  */
  35. IMPORT    int    _malloc_bcmp(void * b1, void * b2, int len);
  36.  
  37. /*
  38.  * dummy function for checking bcopy's arguments.
  39.  */
  40. IMPORT    void    _malloc_bcopy(char * from, char * to, int len);
  41.  
  42. /*
  43.  * dummy function for checking memcmp's arguments.
  44.  */
  45. IMPORT    int    _malloc_memcmp(void * b1,
  46.                    void * b2, int len);
  47.  
  48. /*
  49.  * dummy function for checking memcpy's arguments.
  50.  */
  51. IMPORT    char    *_malloc_memcpy(char * to, char * from, int len);
  52.  
  53. /*
  54.  * dummy function for checking memset's arguments.
  55.  */
  56. IMPORT    char    *_malloc_memset(void * buf, char ch, int len);
  57.  
  58. /*
  59.  * dummy function for checking index's arguments.
  60.  */
  61. IMPORT    char    *_malloc_index(char * str, char ch);
  62.  
  63. /*
  64.  * dummy function for checking rindex's arguments.
  65.  */
  66. IMPORT    char    *_malloc_rindex(char * str, char ch);
  67.  
  68. /*
  69.  * dummy function for checking strcat's arguments.
  70.  */
  71. IMPORT    char    *_malloc_strcat(char * to, char * from);
  72.  
  73. /*
  74.  * dummy function for checking strcmp's arguments.
  75.  */
  76. IMPORT    int    _malloc_strcmp(char * s1,
  77.                    char * s2);
  78.  
  79. /*
  80.  * dummy function for checking strlen's arguments.
  81.  */
  82. IMPORT    int    _malloc_strlen(char * str);
  83.  
  84. /*
  85.  * dummy function for checking strtok's arguments.
  86.  */
  87. IMPORT    char    *_malloc_strtok(char * str, char * sep);
  88.  
  89. /*
  90.  * dummy function for checking bzero's arguments.
  91.  */
  92. IMPORT    void    _malloc_bzero(void * buf,
  93.                   int len);
  94.  
  95. /*
  96.  * dummy function for checking memccpy's arguments.
  97.  */
  98. IMPORT    char    *_malloc_memccpy(char * s1, char * s2, char ch, int len);
  99.  
  100. /*
  101.  * dummy function for checking memchr's arguments.
  102.  */
  103. IMPORT    char    *_malloc_memchr(char * s1, char ch, int len);
  104.  
  105. /*
  106.  * dummy function for checking strchr's arguments.
  107.  */
  108. IMPORT    char    *_malloc_strchr(char * str, char ch);
  109.  
  110. /*
  111.  * dummy function for checking strrchr's arguments.
  112.  */
  113. IMPORT    char    *_malloc_strrchr(char * str, char ch);
  114.  
  115. /*
  116.  * dummy function for checking strcpy's arguments.
  117.  */
  118. IMPORT    char    *_malloc_strcpy(char * to, char * from);
  119.  
  120. /*
  121.  * dummy function for checking strncpy's arguments.
  122.  */
  123. IMPORT    char    *_malloc_strncpy(char * to, char * from, int len);
  124.  
  125. /*
  126.  * dummy function for checking strcasecmp's arguments.
  127.  */
  128. IMPORT    int    _malloc_strcasecmp(char * s1, char * s2);
  129.  
  130. /*
  131.  * dummy function for checking strncasecmp's arguments.
  132.  */
  133. IMPORT    int    _malloc_strncasecmp(char * s1, char * s2, int len);
  134.  
  135. /*
  136.  * dummy function for checking strspn's arguments.
  137.  */
  138. IMPORT    int    _malloc_strspn(char * str, char * list);
  139.  
  140. /*
  141.  * dummy function for checking strcspn's arguments.
  142.  */
  143. IMPORT    int    _malloc_strcspn(char * str, char * list);
  144.  
  145. /*
  146.  * dummy function for checking strncat's arguments.
  147.  */
  148. IMPORT    char    *_malloc_strncat(char * to, char * from, int len);
  149.  
  150. /*
  151.  * dummy function for checking strncmp's arguments.
  152.  */
  153. IMPORT    int    _malloc_strncmp(char * s1, char * s2, int len);
  154.  
  155. /*
  156.  * dummy function for checking strpbrk's arguments.
  157.  */
  158. IMPORT    char    *_malloc_strpbrk(char * str, char * list);
  159.  
  160. /*
  161.  * dummy function for checking strstr's arguments.
  162.  */
  163. IMPORT    char    *_malloc_strstr(char * str, char * pat);
  164.  
  165. /*<<<<<<<<<<   This is end of the auto-generated output from fillproto. */
  166.  
  167. #endif /* ! __MALLOC_STR_H__ */
  168.